.bin-image {
  display: inline-block;
  position: relative;
  &-img,
  &-error,
  &-placeholder,
  &-mark,
  &-inner {
    width: 100%;
    height: 100%;
  }
  &-inner {
    position: relative;
  }
  &-img {
    vertical-align: middle;
  }
  &-img-hidden {
    visibility: hidden;
  }
  &-cursor {
    cursor: pointer;
  }
  &-error,
  &-placeholder,
  &-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  &-mark {
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    color: #fff;
    cursor: pointer;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
  }
  &-inner:hover {
    .bin-image {
      &-mark {
        opacity: 1;
      }
    }
  }
}

.bin-image-error {
  background: var(--bin-fill-color-2);
  line-height: 100px;
  border-radius: var(--bin-border-radius-default);
}
